[INFO] cloning repository https://github.com/ngoclinh93qt/openjph-ffi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ngoclinh93qt/openjph-ffi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngoclinh93qt%2Fopenjph-ffi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngoclinh93qt%2Fopenjph-ffi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c2227d0c39aa2245f4ebe95d857b1af65bd33a63
[INFO] building ngoclinh93qt/openjph-ffi against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngoclinh93qt%2Fopenjph-ffi" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ngoclinh93qt/openjph-ffi on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ngoclinh93qt/openjph-ffi
[INFO] finished tweaking git repo https://github.com/ngoclinh93qt/openjph-ffi
[INFO] tweaked toml for git repo https://github.com/ngoclinh93qt/openjph-ffi written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/ngoclinh93qt/openjph-ffi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ef98cc24ff04baceb37fecaa62830ad9eb3c277bfcbddcd73a1ce19e515fe046
[INFO] running `Command { std: "docker" "start" "-a" "ef98cc24ff04baceb37fecaa62830ad9eb3c277bfcbddcd73a1ce19e515fe046", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef98cc24ff04baceb37fecaa62830ad9eb3c277bfcbddcd73a1ce19e515fe046", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef98cc24ff04baceb37fecaa62830ad9eb3c277bfcbddcd73a1ce19e515fe046", kill_on_drop: false }`
[INFO] [stdout] ef98cc24ff04baceb37fecaa62830ad9eb3c277bfcbddcd73a1ce19e515fe046
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4bb1091700926e98fc5e1408634110e886b383a94149b38ce8c95683b220d75d
[INFO] running `Command { std: "docker" "start" "-a" "4bb1091700926e98fc5e1408634110e886b383a94149b38ce8c95683b220d75d", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling clang-sys v0.29.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling jobserver v0.1.22
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling cc v1.0.69
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling bindgen v0.53.3
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling weezl v0.1.5
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling gif v0.11.2
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling bytemuck v1.7.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling time v0.3.0
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling openjph_ffi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> build.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 |     if (env::consts::OS == "macos") {
[INFO] [stdout]    |        ^                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -     if (env::consts::OS == "macos") {
[INFO] [stdout] 26 +     if env::consts::OS == "macos" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp: In member function 'void ojph::local::resolution::finalize_alloc(ojph::local::codestream*, const ojph::rect&, const ojph::rect&, int, int, ojph::point, ojph::local::tile_comp*, ojph::local::resolution*)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp:2242:67: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct ojph::local::precinct'; use assignment or value-initialization instead [-Wclass-memaccess]
[INFO] [stderr] warning:  2242 |       memset(precincts, 0, sizeof(precinct) * num_precincts.area());
[INFO] [stderr] warning:       |                                                                   ^
[INFO] [stderr] warning: In file included from vendor/openjph/src/core/codestream/ojph_codestream.cpp:46:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream_local.h:297:12: note: 'struct ojph::local::precinct' declared here
[INFO] [stderr] warning:   297 |     struct precinct
[INFO] [stderr] warning:       |            ^~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp: At global scope:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp:75:21: warning: 'ojph::codestream ojph::dao()' defined but not used [-Wunused-function]
[INFO] [stderr] warning:    75 |   static codestream dao() {
[INFO] [stderr] warning:       |                     ^~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp: In function 'int ojph::write(const ojph::line_buf*, ojph::mem_outfile*, ojph::ui8*, int, int)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:38:29: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    38 |       int s = outfile->write(buffer, 3 * width);
[INFO] [stderr] warning:       |               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:38:11: warning: unused variable 's' [-Wunused-variable]
[INFO] [stderr] warning:    38 |       int s = outfile->write(buffer, 3 * width);
[INFO] [stderr] warning:       |           ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp: In member function 'ojph::output_data ojph::htj2kdecompress::decode(const uint8_t*, size_t)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:70:23: warning: comparison of integer expressions of different signedness: 'int' and 'ojph::ui32' {aka 'unsigned int'} [-Wsign-compare]
[INFO] [stderr] warning:    70 |     for (int i = 0; i < height; ++i)
[INFO] [stderr] warning:       |                     ~~^~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:80:13: warning: unused variable 'd' [-Wunused-variable]
[INFO] [stderr] warning:    80 |         int d = write(line, &mem_outfile, buffer, width, comp_num);
[INFO] [stderr] warning:       |             ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'ojph::output_data ojph::htj2kcompress::encodefullquality(const uint8_t*, size_t, size_t)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:33:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    33 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:33:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    33 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:65:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:    65 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:68:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:    68 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:71:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    71 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:71:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    71 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:58:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:    58 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'ojph::output_data ojph::htj2kcompress::encodewithqualityrate(const uint8_t*, size_t, size_t, float_t)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:103:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   103 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:103:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   103 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:135:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:   135 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:138:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:   138 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:141:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   141 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:141:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   141 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:128:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:   128 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'const ui8* ojph::htj2kcompress::encodedao(const uint8_t*, size_t, size_t, bool)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:175:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   175 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:175:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   175 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:207:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:   207 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:210:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:   210 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:213:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   213 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:213:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   213 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:200:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:   200 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:171:94: warning: unused parameter 'isSigned' [-Wunused-parameter]
[INFO] [stderr] warning:   171 |   const ui8* htj2kcompress::encodedao(const uint8_t* data, size_t width, size_t height, bool isSigned) {
[INFO] [stderr] warning:       |                                                                                         ~~~~~^~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'ojph::mem_outfile ojph::htj2kcompress::encode(const uint8_t*, size_t, size_t, bool)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:240:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   240 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:240:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   240 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:272:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:   272 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:275:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:   275 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:278:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   278 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:278:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   278 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:265:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:   265 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:235:92: warning: unused parameter 'isSigned' [-Wunused-parameter]
[INFO] [stderr] warning:   235 |   mem_outfile htj2kcompress::encode(const uint8_t* data, size_t width, size_t height, bool isSigned)
[INFO] [stderr] warning:       |                                                                                       ~~~~~^~~~~~~~
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/main.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::*`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::fs::*;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]   --> src/main.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |             let width = img.width();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]   --> src/main.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let out = d.encodedao(data.as_mut_ptr(), dimentsion.0 as usize, dimentsion.1 as usize,  false);
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcZVK3fy/symbols.o" "/opt/rustwide/target/debug/deps/openjph_ffi-da557cc207bf3164.openjph_ffi.752e1dfd-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-da557cc207bf3164.openjph_ffi.752e1dfd-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-da557cc207bf3164.openjph_ffi.752e1dfd-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-da557cc207bf3164.openjph_ffi.752e1dfd-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-da557cc207bf3164.openjph_ffi.752e1dfd-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-da557cc207bf3164.openjph_ffi.752e1dfd-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-da557cc207bf3164.openjph_ffi.752e1dfd-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-da557cc207bf3164.openjph_ffi.752e1dfd-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-da557cc207bf3164.openjph_ffi.752e1dfd-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-da557cc207bf3164.openjph_ffi.752e1dfd-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-da557cc207bf3164.openjph_ffi.752e1dfd-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/openjph_ffi-da557cc207bf3164.14wmn2bqjnurd2pp.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/openjph_ffi-b9c5791206d6811d/out" "-L" "/opt/rustwide/target/debug/build/libloading-83a3fed45a91ef4e/out" "-L" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-lopenjph" "-Wl,-Bdynamic" "-lstdc++" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libimage-e77e27b77ca18c8f.rlib" "/opt/rustwide/target/debug/deps/libbytemuck-60f5a079febccb65.rlib" "/opt/rustwide/target/debug/deps/libpng-432b23093de8c9c7.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-de6f1c8ffae47eb4.rlib" "/opt/rustwide/target/debug/deps/libcrc32fast-aaf29b4979d72532.rlib" "/opt/rustwide/target/debug/deps/libdeflate-e4fb54db82bd55da.rlib" "/opt/rustwide/target/debug/deps/libadler32-c955def959c5702b.rlib" "/opt/rustwide/target/debug/deps/libbitflags-6d05264d59b50f7f.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-f23f76719c42d268.rlib" "/opt/rustwide/target/debug/deps/libscoped_threadpool-d60964a8b5ca3771.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-3e7ac3c9ba926b8e.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-4d5b5e82c986645c.rlib" "/opt/rustwide/target/debug/deps/libgif-af0358831408f725.rlib" "/opt/rustwide/target/debug/deps/libcolor_quant-0fcc87d5c5b7938c.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-4d098c56eb4115f5.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-465a2bd5cb0fd6cd.rlib" "/opt/rustwide/target/debug/deps/libtiff-0da62f9caffa1147.rlib" "/opt/rustwide/target/debug/deps/libweezl-76d8d3e76c70b2fd.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-5684dfcce2bb29d1.rlib" "/opt/rustwide/target/debug/deps/libadler-3a9d1165c599cab1.rlib" "/opt/rustwide/target/debug/deps/libjpeg_decoder-d4981f6c6b133056.rlib" "/opt/rustwide/target/debug/deps/librayon-84b6c91f709da490.rlib" "/opt/rustwide/target/debug/deps/librayon_core-8eb864b4a1987059.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-6d53490bd30cc85f.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-153b2204c6b37c66.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-3b7e6fa41a8c6900.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-1ebc79530dc1dd57.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-ff2bb1f39834214d.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-f7f960d6fb737adf.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-c48a12501a6794e4.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b33cd6b8ee13db74.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-90e3626e3c41eec3.rlib" "/opt/rustwide/target/debug/deps/libeither-8ed8bc54e89b5c30.rlib" "/opt/rustwide/target/debug/deps/liblibc-272172f988856a81.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9a675e4c0b2cd6d0.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e3f6eac8ce8ba973.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-2ffa3867147f09fb.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-35bed922aa32bbbd.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-ef53e65a7b7a39e5.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1958e7589a0c42f1.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8c399cda3a205286.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-200a824b7fd3ccbb.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-ed4f57a507f0fd5e.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-3ea91f47fd49275a.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-1cb2e84ee1721c57.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ef26b6b8a99daec3.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5e482ea522915d9c.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a9e7dd5405efd2c.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f728cf9374526084.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b5714e1182296022.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69100093739463c8.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-95c4e3e80ce883d8.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d83ba1fe54f1e3d0.rlib" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9e21114b6170ad54.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/3bbb5242a8064de4ca3af4036745ddf603ddaa85/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/openjph_ffi-da557cc207bf3164" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/openjph_ffi-da557cc207bf3164.openjph_ffi.752e1dfd-cgu.8.rcgu.o: in function `openjph_ffi::ffi::ojph_htj2kcompress::encodedao':
[INFO] [stdout]           /opt/rustwide/workdir/src/ffi.rs:1092: undefined reference to `__ZN4ojph13htj2kcompress9encodedaoEPKhmmb'
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout]   = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
[INFO] [stdout]   = note: use the `-l` flag to specify native libraries to link
[INFO] [stdout]   = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp: In member function 'void ojph::local::resolution::finalize_alloc(ojph::local::codestream*, const ojph::rect&, const ojph::rect&, int, int, ojph::point, ojph::local::tile_comp*, ojph::local::resolution*)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp:2242:67: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct ojph::local::precinct'; use assignment or value-initialization instead [-Wclass-memaccess]
[INFO] [stderr] warning:  2242 |       memset(precincts, 0, sizeof(precinct) * num_precincts.area());
[INFO] [stderr] warning:       |                                                                   ^
[INFO] [stderr] warning: In file included from vendor/openjph/src/core/codestream/ojph_codestream.cpp:46:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream_local.h:297:12: note: 'struct ojph::local::precinct' declared here
[INFO] [stderr] warning:   297 |     struct precinct
[INFO] [stderr] warning:       |            ^~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp: At global scope:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_codestream.cpp:75:21: warning: 'ojph::codestream ojph::dao()' defined but not used [-Wunused-function]
[INFO] [stderr] warning:    75 |   static codestream dao() {
[INFO] [stderr] warning:       |                     ^~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp: In function 'int ojph::write(const ojph::line_buf*, ojph::mem_outfile*, ojph::ui8*, int, int)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:38:29: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    38 |       int s = outfile->write(buffer, 3 * width);
[INFO] [stderr] warning:       |               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:38:11: warning: unused variable 's' [-Wunused-variable]
[INFO] [stderr] warning:    38 |       int s = outfile->write(buffer, 3 * width);
[INFO] [stderr] warning:       |           ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp: In member function 'ojph::output_data ojph::htj2kdecompress::decode(const uint8_t*, size_t)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:70:23: warning: comparison of integer expressions of different signedness: 'int' and 'ojph::ui32' {aka 'unsigned int'} [-Wsign-compare]
[INFO] [stderr] warning:    70 |     for (int i = 0; i < height; ++i)
[INFO] [stderr] warning:       |                     ~~^~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kdecompress.cpp:80:13: warning: unused variable 'd' [-Wunused-variable]
[INFO] [stderr] warning:    80 |         int d = write(line, &mem_outfile, buffer, width, comp_num);
[INFO] [stderr] warning:       |             ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'ojph::output_data ojph::htj2kcompress::encodefullquality(const uint8_t*, size_t, size_t)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:33:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    33 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:33:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    33 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:65:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:    65 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:68:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:    68 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:71:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    71 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:71:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:    71 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:58:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:    58 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'ojph::output_data ojph::htj2kcompress::encodewithqualityrate(const uint8_t*, size_t, size_t, float_t)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:103:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   103 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:103:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   103 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:135:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:   135 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:138:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:   138 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:141:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   141 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:141:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   141 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:128:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:   128 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'const ui8* ojph::htj2kcompress::encodedao(const uint8_t*, size_t, size_t, bool)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:175:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   175 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:175:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   175 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:207:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:   207 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:210:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:   210 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:213:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   213 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:213:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   213 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:200:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:   200 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:171:94: warning: unused parameter 'isSigned' [-Wunused-parameter]
[INFO] [stderr] warning:   171 |   const ui8* htj2kcompress::encodedao(const uint8_t* data, size_t width, size_t height, bool isSigned) {
[INFO] [stderr] warning:       |                                                                                         ~~~~~^~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp: In member function 'ojph::mem_outfile ojph::htj2kcompress::encode(const uint8_t*, size_t, size_t, bool)':
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:240:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   240 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                      ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:240:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   240 |     siz.set_image_extent(ojph::point(width, height));
[INFO] [stderr] warning:       |                                             ^~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:272:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ojph::si32' {aka 'int'} [-Wsign-compare]
[INFO] [stderr] warning:   272 |       for (size_t c = 0; c < siz.get_num_components(); c++)
[INFO] [stderr] warning:       |                          ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/c++/9/cassert:44,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/common/ojph_mem.h:43,
[INFO] [stderr] warning:                  from vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:3:
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:275:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
[INFO] [stderr] warning:   275 |         assert(c == next_comp);
[INFO] [stderr] warning:       |                ~~^~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:278:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   278 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                              ^~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:278:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
[INFO] [stderr] warning:   278 |         read(cur_line, data, width, y, next_comp);
[INFO] [stderr] warning:       |                                     ^
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:265:18: warning: unused variable 'bytesPerPixel' [-Wunused-variable]
[INFO] [stderr] warning:   265 |     const size_t bytesPerPixel = 3;
[INFO] [stderr] warning:       |                  ^~~~~~~~~~~~~
[INFO] [stderr] warning: vendor/openjph/src/core/codestream/ojph_htj2kcompress.cpp:235:92: warning: unused parameter 'isSigned' [-Wunused-parameter]
[INFO] [stderr] warning:   235 |   mem_outfile htj2kcompress::encode(const uint8_t* data, size_t width, size_t height, bool isSigned)
[INFO] [stderr] warning:       |                                                                                       ~~~~~^~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `openjph_ffi` due to 2 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4bb1091700926e98fc5e1408634110e886b383a94149b38ce8c95683b220d75d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bb1091700926e98fc5e1408634110e886b383a94149b38ce8c95683b220d75d", kill_on_drop: false }`
[INFO] [stdout] 4bb1091700926e98fc5e1408634110e886b383a94149b38ce8c95683b220d75d
